.home-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  height: 100%;
}

.task-info {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px 20px;
  background-color: #f5f5f5;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
}

.task-time {
  font-weight: 500;
  color: #555;
}

.task-separator {
  margin: 0 12px;
  color: #ccc;
}

.image-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 0;
  max-width: 100%;
}

.image-container {
  position: relative;
  width: 30%;
  aspect-ratio: 1;
}

.image-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.download-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  padding: 4px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container:hover .download-icon {
  opacity: 1;
}

.loading-indicator {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #1a1a2e, #16213e); /* 科技感渐变色背景 */
  color: #00d1ff; /* 科技感蓝色字体 */
  font-family: 'Arial', sans-serif;
  font-size: 1.5em;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.loading-spinner {
  border: 4px solid rgba(0, 209, 255, 0.3); /* 科技感蓝色边框 */
  border-top: 4px solid #00d1ff; /* 科技感蓝色顶部边框 */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite; /* 旋转动画 */
}

.loading-text {
  margin-top: 20px;
  font-weight: bold;
  text-shadow: 0 0 5px #00d1ff; /* 科技感文字阴影 */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 图片弹窗样式 */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  padding: 16px;
  max-width: 90%;
  max-height: 90%;
}

.modal-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
}

.download-button:hover {
  background-color: #0056b3;
}

.no-images {
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 100%;
  width: 100%; */
  padding-top: 100%;
}